<template>
  <div class="menu">
    <div class="btn _1" @click="$router.push({path: '/add3'})">居住登记</div>
    <div class="btn _2" @click="$router.push({path: '/delete'})">离开登记</div>
  </div>
</template>

<script>
  export default {
    name: 'Menu',
    data () {
      return {
      };
    },
    methods: {
    },
    mounted: function () {
    }
  };
</script>

<style lang="scss" scoped>
.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  background: linear-gradient(to bottom right,#fbcddd,#aae9ea);
}
.btn {
  height: 100px;
  border-radius: 50%;
  width: 100px;
  line-height: 100px;
}
._1 {
  background: #001bff;
}
._2 {
  background: #ff6e00;
}
</style>
